package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("user")
@Data
public class User implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String username;
   // private String nickname;
    private String password;
    private Integer age;
    private String sex;
    private String address;
    private String mail;
    private String phone;
    private String remark;
    private Integer rank;
    private String gpa;
}
